We are using GXReadPrintFilePage to load and display the pages from the PDD,
but we're not sure what we should use to hit-test the PDD and perform the
selection.
A GXReadPrintFilePage is the right call for what you are doing, as it gives you a
GX picture shape which may contain many other GX shapes or other picture
shapes. There are, however, many different approaches to hit-testing picture
shapes, which makes it difficult to provide one piece of sample code or one
specific answer. Depending on the needs of your application, you may want to
hit-test text or layout shapes, and you may or may not want the user to be able
to hit individual shapes which are members of picture shapes within the page
picture shape.
Hit testing of pictures is documented in Inside Macintosh: QuickDraw GX
Graphics, starting on page 6-46. There is also a Hit Test sample on the GX
SDK CD which shows options for hit testing various types of GX shapes.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help